<!DOCTYPE html>
<html lang="en">
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}" />
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rTTiRUKnSWaDu2FjhzWFl8/JuUZMlplyWE/djenb2LoKqkgLGfEGfSrL7XDLoB1M" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-Nj1D6pu2WnJojj+67GiU9ZFNwbl7bUWX5Kj5MS22C8bGjllemM9pvQyvj14zJb58" crossorigin="anonymous"></script>
    <script type="module">
      import { Toast } from 'bootstrap.esm.min.js'

      Array.from(document.querySelectorAll('.toast'))
        .forEach(toastNode => new Toast(toastNode))
    </script>

    <title>运维了个平台</title>
    <link rel="my icon" href="{% static 'image/FishingRod.ico' %}"/>
</head>
<body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark" id="test1" style="box-shadow: 0 0 1px 0 ;">
        <a class="navbar-brand" href="{% url 'homepage' %}">&nbsp&nbsp主页</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav">
            <li class="nav-item">
                <a class="nav-link" aria-current="page" href="{% url 'dev_list' %}">设备列表</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="{% url 'console' %}">远程控制台</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="{% url 'scan' %}">端口扫描</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="{% url 'LOG' %}">日志</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="{% url 'FishingRod' %}">鱼竿的平台</a>
            </li>
          </ul>
      </div>
    </nav>

    <div class="BASE">
        {% block content %}

        {% endblock %}
    </div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</body>
</html>